package 原型模式;

public class Hoppy implements Cloneable{
    private String disk;

    public Hoppy(String disk) {
        this.disk = disk;
    }

    public String getDisk() {
        return disk;
    }

    public void setDisk(String disk) {
        this.disk = disk;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
